//
//  XJDLeftController.m
//  XJD
//
//  Created by Angela on 2017/8/25.
//  Copyright © 2017年 Angela. All rights reserved.
//

#import "XJDLeftController.h"
#import "UIViewController+MMDrawerController.h"

@interface XJDLeftController ()

@end

@implementation XJDLeftController

- (void)viewDidLoad {
    [super viewDidLoad];
    [self setTitle:@"Left Drawer"];
    self.view.backgroundColor=[UIColor whiteColor];
    [self.navigationController.navigationBar setBackgroundColor:[UIColor redColor]];
}
-(void)touchesBegan:(NSSet<UITouch *> *)touches withEvent:(UIEvent *)event{
    [self.mm_drawerController toggleDrawerSide:MMDrawerSideLeft animated:YES completion:nil];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
}
@end
